package com.zjsd.sqeybusiness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代理商在线留言对象 agency_chat
 *
 * @author Zheng
 * @date 2020-11-05
 */
public class AgencyChat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 留言ID */
    private Long chatId;

    /** 代理商ID */
    @Excel(name = "代理商ID")
    private Long agencyId;

    /** 企业ID */
    @Excel(name = "企业ID")
    private Long companyId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 微信 */
    @Excel(name = "微信")
    private String wechat;

    /** 代理省 */
    @Excel(name = "代理省")
    private String province;

    /** 代理市 */
    @Excel(name = "代理市")
    private String city;

    /** 代理县 */
    @Excel(name = "代理县")
    private String county;

    /** 代理类型[1代理商2商超流通3酒饭点] */
    @Excel(name = "代理类型[1代理商2商超流通3酒饭点]")
    private String agencyType;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String message;

    /** 推送同类厂家[1是0否] */
    @Excel(name = "推送同类厂家[1是0否]")
    private String pushOtherCompany;

    private Long deptId;

    private String agencyname ;

    private Long productId ;

    private String productName ;

    public void setChatId(Long chatId)
    {
        this.chatId = chatId;
    }

    public Long getChatId()
    {
        return chatId;
    }
    public void setAgencyId(Long agencyId)
    {
        this.agencyId = agencyId;
    }

    public Long getAgencyId()
    {
        return agencyId;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setWechat(String wechat)
    {
        this.wechat = wechat;
    }

    public String getWechat()
    {
        return wechat;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setCounty(String county)
    {
        this.county = county;
    }

    public String getCounty()
    {
        return county;
    }
    public void setAgencyType(String agencyType)
    {
        this.agencyType = agencyType;
    }

    public String getAgencyType()
    {
        return agencyType;
    }
    public void setMessage(String message)
    {
        this.message = message;
    }

    public String getMessage()
    {
        return message;
    }
    public void setPushOtherCompany(String pushOtherCompany)
    {
        this.pushOtherCompany = pushOtherCompany;
    }

    public String getPushOtherCompany()
    {
        return pushOtherCompany;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getAgencyname() {
        return agencyname;
    }

    public void setAgencyname(String agencyname) {
        this.agencyname = agencyname;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("chatId", getChatId())
            .append("agencyId", getAgencyId())
            .append("companyId", getCompanyId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("wechat", getWechat())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("agencyType", getAgencyType())
            .append("message", getMessage())
            .append("pushOtherCompany", getPushOtherCompany())
            .append("createTime", getCreateTime())
                .append("deptId",getDeptId())
                .append("agencyname",getAgencyname())
                .append("productId",getProductId())
                .append("productName",getProductName())
            .toString();
    }
}
